home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 22 / AACD 22.iso / AACD / Programming / powerd / lib / powerd.lha / powerd_ppc / FreeVecPooled.ass < prev    next >
Encoding:
Text File  |  1980-03-26  |  518 b   |  35 lines

  1.  
  2. # FreeVecPooled(pool:r3:PTR,mem:r4:PTR)
  3.  
  4.     .text
  5.     .global    _FreeVecPooled
  6.     .global    _FreeVecPooledPPC
  7.  
  8. _FreeVecPooledPPC:
  9. _FreeVecPooled:
  10.     mflr    r0
  11.     stw    r0,8(r1)
  12.     stwu    r1,-32(r1)
  13.  
  14.     lwz    r6,-4(r4)
  15.     addi    r6,r6,4
  16.     mr    r5,r4
  17.     subi    r5,r5,4
  18.     mr    r4,r3
  19.     lwz    r3,_PowerPCBase(r2)
  20.     lwz    r0,-834+2(r3)
  21.     mtlr    r0
  22.     blrl
  23.  
  24.     addi    r1,r1,32
  25.     lwz    r0,8(r1)
  26.     mtlr    r0
  27.     blr
  28.  
  29.     .type    _FreeVecPooled,@function
  30.     .size    _FreeVecPooled,$-_FreeVecPooled
  31.     .type    _FreeVecPooledPPC,@function
  32.     .size    _FreeVecPooledPPC,$-_FreeVecPooledPPC
  33.  
  34.     .extern    _PowerPCBase
  35.